/*
 *------------------------------------------------------------------------------
 * @File      :    ei_mai_acap.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_MAI_ACAP_H__
#define __EI_MAI_ACAP_H__

#include "ei_mai_acap_define.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

EI_S32 EI_MAI_ACap_Init(EI_HANDLE ACapHdl, EI_MADP_ACAP_ATTR_S* pstACapAttr);

EI_S32 EI_MAI_ACap_DeInit(EI_HANDLE ACapHdl);

EI_S32 EI_MAI_ACap_Start(EI_HANDLE ACapHdl);

EI_S32 EI_MAI_ACap_Stop(EI_HANDLE ACapHdl);

EI_S32 EI_MAI_ACap_SetVolume(EI_HANDLE ACapHdl,EI_MADP_AUDIO_GAIN_S* pstVol);

EI_S32 EI_MAI_ACap_GetVolume(EI_HANDLE ACapHdl,EI_MADP_AUDIO_GAIN_S* pstVol);

EI_S32 EI_MAI_ACap_SetVolumeEx(EI_HANDLE ACapHdl,
    EI_MADP_AUDIO_GAIN_S* pstLeftVol, EI_MADP_AUDIO_GAIN_S* pstRightVol);

EI_S32 EI_MAI_ACap_GetVolumeEx(EI_HANDLE ACapHdl,
    EI_MADP_AUDIO_GAIN_S* pstLeftVol, EI_MADP_AUDIO_GAIN_S* pstRightVol);


EI_S32 EI_MAI_ACap_Mute(EI_HANDLE ACapHdl);

EI_S32 EI_MAI_ACap_UnMute(EI_HANDLE ACapHdl);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif

#endif
